package com.example.analysis.mapper;

import com.example.analysis.entity.Election;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ElectionDao {

    int insert(Election record);

    Election selectByPrimaryKey(@Param("subId") String subId, @Param("studentId") String studentId);

    Election selectByName(String className);

}
